package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.RoomVideo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoomVideoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RoomVideo record);

    int insertSelective(RoomVideo record);

    RoomVideo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoomVideo record);

    int updateByPrimaryKey(RoomVideo record);

    RoomVideo findOneByRoomId(@Param("roomId")Long roomId);

    int updateVideoUrlByRoomId(@Param("updatedVideoUrl")String updatedVideoUrl,@Param("roomId")Long roomId);



}